using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Easy.Geo.Kml
{
    public class LineStyle : ColorStyle
    {        
        public LineStyle(string color):base(color)
        {
            this._width = 1;
        }
        public LineStyle(string color, float width)
            : base(color)
        {
            this._width = width;
        }
        public LineStyle()
            : base()
        {
            this._width = 1;
        }
        private float _width;
        [XmlElement(ElementName="width")]
        public float Width
        {
            get { return _width; }
            set { _width = value; }
        }
    }
}
